package br.com.saab.quantotempofalta.menu.item;

import java.awt.MenuItem;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JOptionPane;

import org.springframework.stereotype.Component;

/**
 * MenuItem que abre a tela Sobre.
 * 
 * @author Felipe
 */
@Component
public class SobreMenu extends MenuItem {
	
	private static final long serialVersionUID = -3523136965104345468L;

	public SobreMenu() {
		super("Sobre");
		
		addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                JOptionPane.showMessageDialog(null, "Quase na hora de ir embora?\n            by Felipe Saab\n                     =D");
            }
        });
	}
	
}
